package entity;

public class Student {
	private Integer id;
	private String stuNo;
	private String name;
	private TbClass tbclass;
	private String password;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getStuNo() {
		return stuNo;
	}
	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public TbClass getTbclass() {
		return tbclass;
	}
	public void setTbclass(TbClass tbclass) {
		this.tbclass = tbclass;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Student() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Student(Integer id, String stuNo, String name, TbClass tbclass, String password) {
		super();
		this.id = id;
		this.stuNo = stuNo;
		this.name = name;
		this.tbclass = tbclass;
		this.password = password;
	}
	public Student(Integer id) {
		super();
		this.id = id;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", stuNo=" + stuNo + ", name=" + name + ", tbclass=" + tbclass + ", password="
				+ password + "]";
	}
	
	
}
